Add disable-return-type-error.patch to work around https://bugzilla.gnome.org/789180
authorJeremy Bicha <jbicha@debian.org>
Thu, 19 Oct 2017 01:34:15 +0000 (01:34 +0000)
committerJeremy Bicha <jbicha@debian.org>
Thu, 19 Oct 2017 01:34:15 +0000 (01:34 +0000)
debian/changelog
debian/patches/disable-return-type-error.patch [new file with mode: 0644]
debian/patches/series

index c190d7dd84200da70143d9b8ec09736f5d3ce035..0ac21a8567a810561fa45756e61d10abef0293b2 100644 (file)
@@ -6,6 +6,7 @@ gtk+4.0 (3.92.1-1) UNRELEASED; urgency=medium
   * debian/libgtk-4-0.symbols: Update
   * Refresh no-accessibility-dump.patch
   * Disable 018_gdkenumtypes.c_location.patch: might not be needed any more
+  * Add disable-return-type-error.patch to work around GNOME bug #789180
 
  -- Jeremy Bicha <jbicha@debian.org>  Wed, 18 Oct 2017 18:07:11 -0400
 
diff --git a/debian/patches/disable-return-type-error.patch b/debian/patches/disable-return-type-error.patch
new file mode 100644 (file)
index 0000000..07bd943
--- /dev/null
@@ -0,0 +1,18 @@
+Author: Jeremy Bicha
+Description: Work around for build failure
+
+https://bugzilla.gnome.org/789180
+---
+ meson.build |    1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/meson.build
++++ b/meson.build
+@@ -256,7 +256,6 @@ elif cc.get_id() == 'gcc' or cc.get_id()
+     '-Werror=main',
+     '-Werror=missing-braces',
+     '-Werror=sequence-point',
+-    '-Werror=return-type',
+     '-Werror=trigraphs',
+     '-Werror=array-bounds',
+     '-Werror=write-strings',
index 56021599ee57b41b026920f20bc3c0595ecd5fd5..6cdba8e6519cc98a4687fb0cd058b91f897eb1f6 100644 (file)
@@ -2,3 +2,4 @@
 no-accessibility-dump.patch
 reftest-known-fail.patch
 gdk-x11-Check-if-we-have-access-to-GL-before-using-G.patch
+disable-return-type-error.patch